import Tracker from '@ali/tracker';
import InterfacePlugin from '@ali/tracker/plugins/Interface';
import PerformancePlugin from '@ali/tracker/plugins/Performance';

const tracker = new Tracker({
  pid: 'ucan-client',
  plugins: [
    [InterfacePlugin],
    [PerformancePlugin]
  ],
});

// 启动 tracker 并监听全局 JS 异常
tracker.install();
